package day07_collections_map.com.itheima.d1_param;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        sum();
        sum(10);
        sum(10,20);
        sum(new int[]{10,20,30});
    }
    public static void sum(int ...nums){
        System.out.println("nums.length = " + nums.length);
        System.out.println("Arrays.toString(nums) = " + Arrays.toString(nums));

    }
}

